#============================================================
#	PlayerIdle
#============================================================
# @datetime: 2022-4-26 00:59:06
#============================================================
class_name PlayerIdle
extends PlayerBaseState


#(override)
func state_process(_arg0):
	input_fall()
	
	if input_jump():
		switch_to(PlayerStateBlackboard.States.JUMP)
	elif input_attack():
		switch_to(PlayerStateBlackboard.States.ATTACK)
	elif input_climb_stairs():
		switch_to(PlayerStateBlackboard.States.CLIMB_STAIRS)
	elif input_climb_wall():
		switch_to(PlayerStateBlackboard.States.CLIMB_WALL)
	elif input_move():
		switch_to(PlayerStateBlackboard.States.MOVE)


